<?php
include "../site_specific/project.php";
include "../includes/constants.php";
include "../site_specific/external_constants.php";
include "../includes/phpmailer/class.phpmailer.php";
include "../includes/phpmailer/class.smtp.php";
include "../includes/utilities.php";
include "../includes/pages.php";
include "../includes/database.php";
include "../includes/users.php";
include "../includes/date.php";
include "../includes/files.php";
include "../includes/text.php";

# Establish database connection
establishDatabaseConnection();

$sql_showtags = "SELECT DISTINCT t_tag FROM ".$PROJECT_DB_TABLES["tags"]." order by t_tag";

$data_showtags = getRecord($sql_showtags);

$output = "";

$output .= "<ul id=\"tag_sphere\">";

foreach($data_showtags as $data_showtags_key => $data_showtags_value){
	
	$output .= "<li><a href=\"#\" rel=\"20\" sort=\"".$data_showtags_value["t_tag"]."\">".$data_showtags_value["t_tag"]."</a></li>";
}

$output .= "</ul>";

echo $output;
?>